翻訳と辞書
Words near each other
・ Rollo, Illinois
・ Rollocks
・ Rollonfriday
・ Rollot
・ Rollout
・ Rollout (backgammon)
・ Rollout (My Business)
・ Rollout (poker)
・ Rollout photography
・ Rollover
・ Rollover (disambiguation)
・ Rollover (film)
・ Rollover (finance)
・ Rollover (fire)
・ Rollover (key)
Rollover (web design)
・ Rollover anticlines
・ Rollover cable
・ Rollover DJ
・ Rollover Pass
・ Rollovers as Business Start-Ups
・ Rollright
・ Rollright Halt railway station
・ Rollright Stones
・ Rolls (restaurant chain)
・ Rolls Building
・ Rolls family
・ Rolls Gracie
・ Rolls of Oléron
・ Rolls of Parliament


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Rollover (web design) : ウィキペディア英語版
Rollover (web design)

Rollover refers to a button created by a web developer or web designer, found within a web page, used to provide interactivity between the user and the page itself. The term rollover in this regard originates from the visual process of "rolling the mouse cursor over the button" causing the button to react (usually visually, by replacing the button's source image with another image), and sometimes resulting in a change in the web page itself. The part of the term 'roll' is probably referring to older mice which had a mechanical assembly consisting of a hard rubber ball housed in the base of the mouse (which rolls) contrary to the modern optical mouse, which has no 'rolling' parts. The term mouseover is probably more appropriate considering current technology.
Rollovers can be done by imagery, text or buttons. The user only requires 2 images/buttons (with the possible addition of "alt" text to these images) to perform this interactive action.
Rollover imagery can be done either by a program with a built-in tool or script coding. The user will have to pick a first image and select an alternate secondary image. A mouse action will have to be set to either "click on" or "mouse over" in order for the rollover to be triggered. Note that when the "mouse over" moves on the image, the alt image/secondary image will appear but won't stay - when the user "mouses out" by moving the mouse away from the image, the original source image will reappear.
== Coding ==
There are several different ways to create a rollover. This is an example of a rollover in CSS, JavaScript and HTML:
CSS

a
a:hover

JavaScript

var link = document.querySelector("a");
link.addEventListener("mouseover",function() );
function setStyleDefaults()
setStyleDefaults();
link.addEventListener("mouseout",setStyleDefaults);

HTML
Wikipedia

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Rollover (web design)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.